package org.alex.samples.dao;

import java.util.List;

import org.alex.samples.model.PagerModel;
import org.alex.samples.model.User;
import org.alex.samples.model.UserVO;

public interface IUserDao extends IBaseDAO<User> {

	public List<User> findAllUsers() throws Exception;

	public void createUser(User user) throws Exception;

	public UserVO getUserById(String id) throws Exception;

	public void editUser(User user) throws Exception;

	public void deletetUser(String id) throws Exception;

	public PagerModel<UserVO> findAllByPage() throws Exception;

	public void createUsers(List<User> userList) throws Exception;

	public void updataUserLastLockTime(User user) throws Exception;

	public void updataUserLoginFailCount(User user) throws Exception;
	
	public void flush();


}